<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<title>{if:"{$v.title}"=""}{$v.summ|cutstr|10}{else}{$v.title}{/if}_{$webtitle}</title>
<meta name="keywords" content="微博,日志,无名" />
<meta name="description" content="{$v.summ|cutstr|50}" />
<link href="{$template}style/iNove.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrap">
  {include("head.htm")}
  <div id="content">
    <div id="main">         
<div id="log-{$v.id}" class="boxPost">{if:"{$v.title}"<>""}<h1>{$v.title}</h1>{/if}<div class="textPost">{if:"{$v.pass}"=""}{$v.content}{else}<span style="color:red;">这是一篇密码日志！</span><br /><input placeholder="请输入密码..."  type="password" value="" id="password" class="pass" /> <button class="btn" onclick="ckpass('{$v.id}');" />确认</button>{/if}</div><p class="time">{$v.atime} 通过{$v.fm}</p>
<p class="navPost">  
	{if:{var:admin}=1}
    <a id="zd-{$v.id}" href="javascript:void(0)" onclick="zdlog('{$v.id}')">{if:{$v.ist}=1}取消{else}置顶{/if}</a> <a href="{$ifile}?act=edit&id={$v.id}" title="编辑微博">编辑</a> <a href="javascript:void(0)" onclick="dellog('{$v.id}','1')">删除</a>
	{else}
	<a href="JavaScript:history.back();">返回</a> <a href="JavaScript:DotRoll('pl')">我要评论</a>
    {/if}
</p></div>  
   <div id="comment_list">
        {loop:name="list"}
		<div class="comlist" id="Com-{@list.pid}"><div id="Ctext-{@list.pid}"><p><strong>{@list.pname}</strong>：{if:{@list.isn}{var:admin}<>10}{@list.pcontent}{else}评论审核中...{/if}</p>
		{if:"{@list.rcontent|escape}"<>""}<p class="re">&nbsp;&nbsp;<strong style="color:#C00">回复</strong>：<span>{@list.rcontent}</span></p>{/if}
		</div><p class="time">{@list.ptime}</p>{if:{var:admin}=1}<p class="navPost"><a href="javascript:void(0)" onclick="repl('{@list.pid}','{@list.cid}')" title="回复评论">回复</a>&nbsp;<a href="javascript:void(0)" onclick="delpl('{@list.cid}','{@list.pid}')" class="item">删除</a>{if:{@list.isn}=1}<a id="sh-{@list.pid}" href="javascript:void(0)" onclick="shpl('{@list.pid}')" class="item">&nbsp;审核</a>{/if}</p>{/if}</div>
        {/loop}
    </div>
	
	 <a name="pl"></a><p><input name="pname" tabindex="1" placeholder="您的昵称" id="pname" type="text" class="log" value="{var:nick}" maxlength="10" /></p><p><textarea tabindex="2" placeholder="随便说点什么吧..." name="plog" rows="3" id="plog" class="log"></textarea></p>
	 {if:{var:safecode}=1}
	 <p id="codep"><input type="text" id="safecode" placeholder="右侧计算答案" name="safecode" autocomplete="off" class="log" value=""/> <img src="app/class/codes.asp" id="codeimg" style="cursor:pointer" alt="更换一道题！" onclick="reloadcode()"/></p>
	 {/if}
	 <p><button name="add" onClick="addpl('{$v.id}','{var:safecode}');" id="add" class="btn"> 提 交 </button> <button name="bck" onClick="history.back();" id="bck" class="btn"> 返 回 </button></p> 
    </div>
    {include("right.htm")}
  </div>
  <div id="footer">{include("foot.htm")}</div>
</div>
<script type="text/javascript" language="javascript" src="http://lib.sinaapp.com/js/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" language="javascript" src="{$template}js/ajax.js"></script>
</body>
</html>